<html>
<head>
<script src="script/provider.js"></script>
</head>
<body>
<?php
if(empty($_GET['fileid'])){
	echo "oh shit!";
	exit;
}
include("includes/provider_lib.php");
$f = showFileById($_GET['fileid']);

echo '<div id="attachment" style="font-size:small;color:#59657c;">http://'.$_SERVER['HTTP_HOST'].'/itelement'.$f['link'].'  <a href="#" onclick="removeFile(\''.$f['id'].'\')">remove</a></div>';
?>
</body>
</html>